package com.github.wisdom.common.github.modules.fegin.fallback;


import com.github.wisdom.common.github.modules.entity.ObjectStorageVerification;
import com.github.wisdom.common.github.modules.fegin.MetaObjectService;
import com.github.wisdom.common.github.modules.util.ReturnEntity;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class MetaObjectServiceFallbackImpl implements MetaObjectService {

	private Logger logger = LoggerFactory.getLogger(this.getClass());
	
	@Override
	public
	ReturnEntity<ObjectStorageVerification> verifications(ObjectStorageVerification object) {
		logger.error("调用{}异常:{}", "verifications", object);
		return new ReturnEntity<ObjectStorageVerification>().error("调用失败！");
	}

}
